package com.dadao.boot.test.service.impl;

import com.dadao.boot.test.dao.StudentDao;
import com.dadao.boot.test.entity.StudentVo;
import com.dadao.boot.test.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentService implements IStudentService {

    @Autowired
    private StudentDao studentDao;


    @Override
    public StudentVo selectStudentById(int id) {
        return studentDao.selectStudentById(id);
    }
}
